package com.yt.order.api.interfaces;

import com.yt.core.service.GenericService;
import com.yt.order.api.model.OrderInfo;
import com.yt.order.api.model.Reservation;

import java.util.List;

public interface ReservationService extends GenericService<Reservation, Long> {
	public List<Reservation> findByOrderId(String orderId);

	public Reservation findValidByOrderId(String orderNo);

	public void updateStatus(String ids, String status);

	public void updateConfirmed(String ids, String confirmed);

	public void addReservationByOrder(OrderInfo order);
}